import request from "../request";

// 获取轮播图信息
export const getBanner = () =>{
    return request({
        url:'/banner'
    })
}
// 获取推荐歌单
export const getPersonalized = ()=>{
    return request({
        url:'/personalized',
        params:{
            limit:18,
            timestamp: Date.parse(new Date()),
        }
    })
}
export const  getRecommend = () =>{
	return request({
		url: "/recommend/resource",
		params: {
			timestamp: Date.parse(new Date()),
		},
	});
}
// 获取每日推荐MV
export const getNewMV = () =>{
    return request({
        url:"/personalized/mv",    
    })
}
// 获取推荐信音乐
export const getNewSong = () =>{
    return request({
        url:"/personalized/newsong",
        params:{
            limit:15
        }
    })
}